CREATE TABLE [dbo].[TTTIPO_EVCL]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_TIPO] [dbo].[TD_VC_003] NOT NULL,
[DE_TIPO] [dbo].[TD_VC_100] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIPO_EV__CO_US__2690946A] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIPO_EV__FE_US__2784B8A3] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIPO_EV__CO_US__2878DCDC] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIPO_EV__FE_US__296D0115] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIPO_EVCL] ADD CONSTRAINT [PK__TTTIPO_E__CEC7790F2F9ADBB7] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_TIPO]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIPO_EVCL] ADD CONSTRAINT [FK__TTTIPO_EV__CO_EM__76B76416] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
